package com.pocket.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;


/**
 * @author zhaozhile
 */
@MapperScan(basePackages = "com.pocket.cloud.**.dao") //【pocket-payment-mybatis-4】
@SpringBootApplication
@EnableDiscoveryClient // 开启自动配置【cloud-nacos-discover-consumer-3】
@EnableFeignClients // 开启扫描@FeignClient注解【cloud-openfeign-1.4】
public class OrderApp {

    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class,args);
    }

}
